package com.teamwhole.modules.sys.dao;
import com.teamwhole.core.persistence.dao.CrudDao;
import com.teamwhole.core.persistence.annotation.MyBatisDao;
import com.teamwhole.modules.sys.entity.User;

@MyBatisDao
public interface UserDao extends CrudDao<User>{

    User findByLoginName(User user);

    void deleteUserRole(User user);

    void insertUserRole(User user);

    void initPassword(User user);

    void updateLoginInfo(User user);

}